﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LocalColorInformation.aspx.cs" Inherits="NJL.Web.LocalColorInformation" %>
<%@ Import Namespace="Royalsoft.Common" %>
<%@ Register Src="Controls/WUCHeader.ascx" TagName="WUCHeader" TagPrefix="uc1" %>
<%@ Register Src="Controls/WUCFooter.ascx" TagName="WUCFooter" TagPrefix="uc2" %>
<%@ Register Src="Controls/WUCELPS.ascx" TagName="WUCELPS" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Styles/base1.css" />
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" language="javascript" src="/Scripts/jquery.KinSlideshow-1.1.js"></script>
    <script src="/Scripts/popup_layer.js" type="text/javascript"></script>
    <script type="text/javascript">
        function GetValidate() {
            document.getElementById("Validate").src = "/ValidateCode.aspx?rand=" + Math.random();
        }
        $(document).ready(function () {
            getStartImage('gstart3');
        }
        );
    </script>
</head>
<body>
    <script type="text/javascript">
        var localColorId = '<%=Request.QueryString["id"] %>';
        var f = function (objTypeId) {
            $.ajax({
                type: 'post',
                url: '/Handle/Handler.ashx',
                data: 'localColorID=' + localColorId + '&typeId=3&objTypeId=' + objTypeId,
                dataType: 'text',
                success: function (msg) {
                    if (objTypeId == "1") {
                        if (msg == "您已提交过") {
                            alert('您已经点过我了哦');
                        }
                        else {
                            $('#xmsl').html(msg);
                        }
                    }
                    else if (objTypeId == "2") {
                        if (msg == "您已提交过") {
                            alert("您已经点过我了哦");
                        }
                        else {
                            $('#mgsl').html(msg);
                        }
                    }

                },
                error: function () {
                }

            });
        }
        var xmcount = function () {
            $.ajax({
                type: 'post',
                url: '/Handle/Handler.ashx',
                data: 'localColorIDCount=' + localColorId + '&typeId=3',
                dataType: 'text',
                success: function (msg) {
                    var count = eval('(' + msg + ')');
                    $('#xmsl').html(count.XiangMai);
                    $('#mgsl').html(count.MaiGuo);

                },
                error: function () {
                }

            });
        }
        $(document).ready(function () {
            var xm = document.getElementById("xm");
            xm.onclick = function () {
                f('1');
            }
            var mg = document.getElementById("mg");
            mg.onclick = function () {
                f('2');
            }
            xmcount();
        });
    </script>
    <form id="form1" runat="server">
    <%
        if (UserId == "" || UserName == "")
        {         
    %>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            //示例9，综合效果
            var t9 = new PopupLayer({ trigger: "#txtComment", popupBlk: "#blk9", closeBtn: "#close9", useOverlay: true, useFx: true,
                offsets: {
                    x: 0,
                    y: -41
                }
            });
            t9.doEffects = function (way) {
                if (way == "open") {
                    this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                        this.popupLayer.animate({
                            left: ($(document).width() - this.popupLayer.width()) / 2,
                            top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                            opacity: 0.8
                        }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                    } .binding(this));
                    document.getElementById('Login').src = '<%=WEBSITE_USRE_DOMAIN %>/SecondLogin.aspx?websitecode=<%=WEBSITE_CODE %>&domain=<%=WEBSITE_DOMAIN %>&url=<%=Request.RawUrl %>';
                }
                else {
                    this.popupLayer.animate({
                        left: this.trigger.offset().left,
                        top: this.trigger.offset().top,
                        opacity: 0.1
                    }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
                }
            }
        });
    </script>
    <div id="blk9" class="blk">
        <div class="popup_title">
            <span class="f_right"><a href="javascript:void(0)" id="close9">关闭</a></span>
            <ul>
                <li class="now"><a target="main">登录</a> </li>
            </ul>
        </div>
        <div>
            <iframe id="Login" name="main" width="500" height="420" style="overflow: hidden;
                border: none;"></iframe>
        </div>
    </div>
    <%
        }
    %>
    <uc1:WUCHeader ID="WUCHeader1" runat="server" />
    <!--主要内容-->
    <div class="clearfix w1003" id="content">
        <!--顶部推广-->
        <div class="blank cleanFlex">
        </div>
        <!--位置-->
        <div class="place02">
            <p>
                您现在的位置是：<a href="/">首页</a>>><a href="<%if(WEBSITE_FOCUS_CITY_CODE!="") Response.Write("/"+WEBSITE_FOCUS_CITY_NAME_PINYIN); %>/dfts/">地方特色</a>>><span><%=MODEL.NEWS_TITLE%></span></p>
        </div>
        <!--内容-->
        <div class="blank cleanFlex">
        </div>
        <div>
            <!--左侧-->
            <div class="f_left" style="overflow: hidden; width: 743px;">
                <!--特产-->
                <div class="localgoods m_top_10">
                    <!--特产名字-->
                    <div class="localName">
                        <strong>
                            <%=MODEL.NEWS_TITLE%>
                        </strong><span>(已被关注<strong class="orange"><%=MODEL.VISIT_COUNT%></strong>次) </span>
                    </div>
                    <!--图片-->
                    <div class="blank cleanFlex">
                    </div>
                    <div class="goodspic f_left">
                        <img src="<%=GetImageUrl(MODEL.IMAGE_CODE,"C1") %>" alt="<%=MODEL.NEWS_TITLE %>"
                            class="picBor" title="<%=MODEL.NEWS_TITLE %>" width="269" height="202" />
                    </div>
                    <!--特产信息-->
                    <div style="width: 453px;" class="goodsInfo f_right">
                        <div class="f_right evaluatelocal">
                            <!--评价-->
                            <span class="like"><strong id="xmsl"></strong><a id="xm" style="cursor: pointer">想买</a>
                            </span><span class="unlike"><strong id="mgsl"></strong><a id="mg" style="cursor: pointer">
                                买过</a> </span>
                        </div>
                        <div class="goodsintro">
                            <p class="grayfont">
                                简单介绍</p>
                            <p>
                                <%=MODEL.NEWS_SUBJECT_TITLE%>
                            </p>
                            <p class="grayfont">
                                发布时间：<%=Convert.ToDateTime(MODEL.PUBLISH_DATE_TIME).ToString("yyyy-MM-dd HH:mm:ss")%></p>
                        </div>
                        <p class="centeralign view">
                            已有<span><asp:Literal ID="litCommentCount" runat="server"></asp:Literal></span>条评论，<a
                                href="#comment">查看点评</a>
                        </p>
                    </div>
                </div>
                <!--特产信详情-->
                <div class="cleanFlex blank">
                </div>
                <div>
                    <div class="titleLocalInfo">
                        <h2>
                            特色详情</h2>
                    </div>
                    <div class="newscont font14 box">
                        <p>
                            <%=MODEL.NEWS_CONTECT%>
                        </p>
                        <!--图标-->
                        <div style="width: 300px; margin: 20px auto;" class="cleanFlex">
                            <!-- JiaThis Button BEGIN -->
                            <div id="jiathis_style_32x32">
                                <a class="jiathis_button_qzone"></a><a class="jiathis_button_tsina"></a><a class="jiathis_button_tqq">
                                </a><a class="jiathis_button_renren"></a><a class="jiathis_button_kaixin001"></a>
                                <a href="http://www.jiathis.com/share/" class="jiathis jiathis_txt jtico jtico_jiathis"
                                    target="_blank"></a><a class="jiathis_counter_style"></a>
                            </div>
                            <script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
                            <!-- JiaThis Button END -->
                        </div>
                    </div>
                </div>
                <!--同类地方特色-->
                <div class="blank">
                </div>
                <div>
                    <div class="titleLocalInfo">
                        <h2>
                            同类地方特色</h2>
                    </div>
                    <div class="box cont">
                        <marquee behavior="alternate" height="150px" scrollamount="2" onmouseover="this.stop()"
                            onmouseout="this.start()">
                        <ul class="imglist">
                            <asp:Repeater ID="rptOther" runat="server">
                                <ItemTemplate>
                                    <li style="width: 155px;"><a href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID") %>.html" target="_blank">
                                        <img src="<%#GetImageUrl(Eval("IMAGE_CODE").ToString(),"1") %>" class="picBor" alt="<%#Eval("NEWS_TITLE") %>"
                                            width="147px" height="105px" title="<%#Eval("NEWS_TITLE") %>" /></a>
                                        <p>
                                            <span class="f_right grayfont">关注:<%#Eval("VISIT_COUNT")%></span><a href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID") %>.html" title="<%#Eval("NEWS_TITLE") %>" target="_blank"><%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),6) %></a></p>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul></marquee>
                        <div class="cleanFlex" style="height: 1px;">
                        </div>
                    </div>
                </div>
                <!--评论-->
                <div class="blank cleanFlex">
                </div>
                <div>
                    <div class="titleLocalInfo">
                        <h2>
                            用户点评（<asp:Literal ID="litdp" runat="server"></asp:Literal>）</h2>
                    </div>
                    <div class="box cont">
                        <div class="newscont m_top_10">
                            <asp:Repeater ID="rptCommentList" runat="server" OnItemDataBound="rptCommentList_ItemDataBound">
                                <ItemTemplate>
                                    <dl class="imglist cleanFlex" style="min-height: 62px; height: 100%;">
                                        <dt><a href="/wanjia/<%#Eval("CREATE_USER_ID") %>-index.html" target="_blank">
                                            <asp:Image ID="imgUserHead" runat="server" Width="67" Height="50" BorderWidth="1"
                                                CssClass="picBor"></asp:Image></a></dt>
                                        <dd class="f_right">
                                            评分：
                                            <asp:Literal ID="litStartSum" runat="server"></asp:Literal>
                                        </dd>
                                        <dd>
                                            <strong><a href="/wanjia/<%#Eval("CREATE_USER_ID") %>-index.html" target="_blank">
                                                <%#Eval("CREATE_USER_NAME")%></a></strong>
                                            <%#Eval("CREATE_DATE_TIME")%>
                                        </dd>
                                        <dd class="m_top_10">
                                            <%#Eval("COMMENT_CONTENT")%></dd>
                                    </dl>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                        <!--评论-->
                        <div class="cleanFlex comment">
                            <div class="cont">
                                <p>
                                    <a name="comment"></a><strong>总体印象：</strong>
                                    <%
                                        for (int i = 1; i <= 5; i++)
                                        {
                                    %>
                                    <img src="/Images/half_start.jpg" alt="<%=i %>" id="gstart<%=i %>" onclick="getStartImage('gstart<%=i %>')"
                                        style="cursor: pointer" />
                                    <%
                                        }
                                    %>
                                    &nbsp;<span class="grayfont">请点击星给此景点评分</span>
                                </p>
                                <p>
                                    <strong>我的评论：</strong>
                                </p>
                                <p>
                                    <asp:TextBox ID="txtComment" runat="server" Height="50px" TextMode="MultiLine" class="input"
                                        Width="700px"></asp:TextBox>
                                </p>
                                <p>
                                    <span class="f_right">
                                        <asp:Button ID="btnComment" runat="server" class="postbtn" OnClientClick="return check()"
                                            OnClick="btnComment_Click" />
                                    </span>验证码：<asp:TextBox ID="txtValidate" runat="server" class="input" Width="60px"
                                        MaxLength="4"></asp:TextBox>&nbsp;&nbsp;
                                    <img id="Validate" src="/ValidateCode.aspx" onclick="javascript:GetValidate()" alt="验证码"
                                        title="看不清，点击图片，换一张" align="absmiddle" width="56px" height="20px" style="cursor: pointer" />
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
                <!--相关新闻-->
                <div class="m_top_10 boxgray" style="display: none">
                    <div class="titleGreen">
                        <h3>
                            <strong>相关新闻</strong></h3>
                    </div>
                    <div class="cont">
                        <div class="f_left" style="width: 100%;">
                            <ul class="arrowList02">
                                <%
                                    for (int i = 0; i < LIST_SYS_NEWS.Count; i++)
                                    {
                                %>
                                <li><span>[<%=LIST_SYS_NEWS[i].PUBLISH_DATE_TIME.Value.ToString("yyyy-MM-dd HH:mm:ss")%>]</span>
                                    <a target="_blank" title="<%=LIST_SYS_NEWS[i].NEWS_TITLE %>" href="/xckb/<%=LIST_SYS_NEWS[i].TYPE_CODE %>/<%=LIST_SYS_NEWS[i].ID %>.html">
                                        <%if (LIST_SYS_NEWS[i].NEWS_TITLE.Length > 32) Response.Write(LIST_SYS_NEWS[i].NEWS_TITLE.Substring(0, 32) + "..."); else Response.Write(LIST_SYS_NEWS[i].NEWS_TITLE); %></a></li>
                                <% 
                                    }
                                %>
                            </ul>
                        </div>
                    </div>
                    <div class="cleanFlex">
                    </div>
                </div>
                <!--美食推荐-->
                <div class="cleanFlex blank" style="display: none">
                </div>
                <div class="cleanFlex boxgray" style="display: none">
                    <div class="titleGreen">
                        <span class="f_right"><a href="#">更多</a></span>
                        <h3>
                            <strong>美食分享</strong></h3>
                    </div>
                    <div class="cont cleanFlex">
                        <ul class="imglist imglistF">
                            <li><a href="#">
                                <img src="Images/ads_47.jpg" alt="" class="picBor" /></a><p>
                                    <a href="#">农家小炒肉</a></p>
                            </li>
                            <li><a href="#">
                                <img src="Images/ads_47.jpg" alt="" class="picBor" /></a><p>
                                    <a href="#">农家小炒肉</a></p>
                            </li>
                            <li><a href="#">
                                <img src="Images/ads_47.jpg" alt="" class="picBor" /></a><p>
                                    <a href="#">农家小炒肉</a></p>
                            </li>
                            <li><a href="#">
                                <img src="Images/ads_47.jpg" alt="" class="picBor" /></a><p>
                                    <a href="#">农家小炒肉</a></p>
                            </li>
                        </ul>
                    </div>
                    <div class="cleanFlex">
                    </div>
                </div>
            </div>
            <!--右侧-->
            <div class="f_right w_248">
                <!--广告-->
                <div class="boxgreen">
                    <%                   
                        if (MODEL.IS_MERCHANTS == null || MODEL.IS_MERCHANTS == 0)
                        {
                    %>
                    <img src="/Images/ads_50.jpg" alt="联系我们" id="opendingpiao" style="cursor: pointer"
                        title="联系我们" />
                    <%                       
                        }
                        else
                        {                                             
                    %>
                    <%=MODEL.MERCHANTS_AD%>
                    <%
                        }
                    %>
                </div>
                <!--相关文章-->
                <div class="boxgreen cont m_top_10" id="news" runat="server">
                    <ul class="arrowList font14">
                        <asp:Repeater ID="rptNews" runat="server">
                            <ItemTemplate>
                                <li><a href="/<%=GetAreaNamePinYin(WEBSITE_FOCUS_CITY_CODE) %>/dfts/news-<%#Eval("ID") %>.html"
                                    target="_blank" title="<%#Eval("NEWS_TITLE") %>">
                                    <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),15)%></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <!--标签-->
                <div class="blank m_top_10">
                </div>
                <div class="boxgreen cont taghot" id="tag" runat="server">
                    <% 
                        System.Random random = new Random();
                        for (int i = 0; i < LIST_TAG.Count; i++)
                        {
                            int iRandom = random.Next(0, 9);
                    %>
                    <a target="_blank" href="/SearchLocalColor.aspx?keywords=<%=Server.UrlEncode(LIST_TAG[i].TAG) %>&cc=<%=WEBSITE_FOCUS_CITY_NAME_PINYIN%>"
                        class="tag<%=iRandom.ToString() %>">
                        <%=LIST_TAG[i].TAG%>
                    </a>
                    <%
}
                    %>
                </div>
                <!--广告-->
                <div class="blank m_top_10">
                </div>
                <div class="boxgreen">
                    <%                   
                        if (MODEL.IS_MERCHANTS == null || MODEL.IS_MERCHANTS == 0)
                        {
                    %>
                    <img src="/Images/ads_50.jpg" alt="联系我们" id="opendingpiao1" style="cursor: pointer"
                        title="联系我们" />
                    <%                       
                        }
                        else
                        {                                             
                    %>
                    <%=MODEL.MERCHANTS_AD%>
                    <%
                        }
                    %>
                </div>
            </div>
        </div>
        <div class="blank cleanFlex">
        </div>
    </div>
    <div id="blk9dingpiao" class="blk" style="width: 700px; height: 420px;">
        <div class="popup_title">
            <span class="f_right"><a href="javascript:void(0)" id="close9dingpiao">关闭</a></span>
            <strong class="orange font14">如果您有此产品或同类产品，需要销售或者推广，请联系农家乐网。</strong>
        </div>
        <div class="popup_main linkpop f_left" style="width: 300px;">
            <p class="orange font14">
                <strong>农家乐网联系方式：</strong>
            </p>
            <p class="font14">
                <strong>联系电话：</strong><span class="orange"><%=MODEL_BASE.WEBSITE_CONTACT_TEL%></span>&nbsp;<span><%=MODEL_BASE.WEBSITE_CONTACT%></span>
            </p>
            <p class="font14">
                <strong>在线QQ：</strong><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>&site=qq&menu=yes"><img
                    border="0" src="http://wpa.qq.com/pa?p=2:<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>:41"
                    alt="点击这里给我发消息" title="点击这里给我发消息" align="absmiddle" /></a></p>
            <p class="font14">
                <strong>邮箱：</strong><a href="mailto:<%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%>"><strong><%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%></strong></a></p>
            <p class="gray center">
                <%=MODEL_BASE.WEBSITE_CONTACT_INTRO%>
            </p>
        </div>
        <!--右侧注册信息-->
        <div class="f_right poplogin popup_main" style="width: 280px;">
            <p  class="orange">
                <b>农家乐网满足您的出行，享受自然生活的网络互动平台，每天来看一看，每天都有精彩！！</b></p>
            <p>
                1、免费获得属于自己的网上商铺</p>
            <p>
                2、时时更新关于农庄的每一个动态</p>
            <p>
                3、看看游客在想啥调整销售策略</p>
            <p>
                4、不受地域限制共享全国客户资源</p>
            <p class="more">
                <a target="_blank" class="" href="/Register.aspx">马上免费注册</a></p>
        </div>
        <!--统计-->
        <div class="cleanFlex blank">
        </div>
        <div class="popup_main" style="border: 1px solid #ddd; background: #f5f5f5; height:100px">
            <div class="f_left webinfo" style="width: 300px; position:inherit;">
                   <p><strong><%=CITY_COUNT %></strong>个城市/地区</p>
                            <p><strong><%=COMPANY_COUNT.ToString("###,###,###")%></strong>农家乐，<strong><%=USER_COUNT.ToString("###,###,###")%></strong>个用户。</p>
                            <p><strong><%=LOCAL_COLOR_COUNT.ToString("###,###,###")%></strong>个特产，<strong><%=ATTRACTION_COUNT.ToString("###,###,###")%></strong>个景点。</p>
            </div>
            <div class="f_right poplogin" style="border: none;">
             <marquee direction="up" height="100px" scrollamount="1" onmouseover="this.stop()" onmouseout="this.start()"">
                <asp:Repeater ID="rptShop" runat="server">
                    <ItemTemplate>
                        <p>
                            <b><a href="/shangpu/<%#Eval("ID") %>-index.html" target="_blank"><%#PageValidate.SqlText(Eval("COMPANY_NAME").ToString(),10)%></a></b>，刚刚入驻湖北农家乐网
                        </p>
                    </ItemTemplate>
                </asp:Repeater></marquee>
            </div>
            <div class="cleanFlex">
            </div>
        </div>
    </div>
    <script type="text/javascript">
        //示例9，综合效果
        var dingpiao = new PopupLayer({ trigger: "#opendingpiao", popupBlk: "#blk9dingpiao", closeBtn: "#close9dingpiao", useOverlay: true, useFx: true,
            offsets: {
                x: 0,
                y: -41
            }
        });
        dingpiao.doEffects = function (way) {
            if (way == "open") {
                this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                    this.popupLayer.animate({
                        left: ($(document).width() - this.popupLayer.width()) / 2,
                        top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                        opacity: 0.8
                    }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                } .binding(this));
                // document.getElementById('Logindingpiao').src = '<%=WEBSITE_USRE_DOMAIN %>/SecondLogin.aspx?websitecode=<%=WEBSITE_CODE %>&domain=<%=WEBSITE_DOMAIN %>&url=<%=Request.RawUrl %>';
            }
            else {
                this.popupLayer.animate({
                    left: this.trigger.offset().left,
                    top: this.trigger.offset().top,
                    opacity: 0.1
                }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
            }
        }

    </script>
    <div id="blk9dingpiao1" class="blk" style="width: 700px; height: 420px;">
        <div class="popup_title">
            <span class="f_right"><a href="javascript:void(0)" id="close9dingpiao1">关闭</a></span>
            <strong class="orange font14">如果您有此产品或同类产品，需要销售或者推广，请联系农家乐网。</strong>
        </div>
      <div class="popup_main linkpop f_left" style="width: 300px; ">
            <p class="orange font14">
                <strong>农家乐网联系方式：</strong>
            </p>
            <p class="font14">
                <strong>联系电话：</strong><span class="orange"><%=MODEL_BASE.WEBSITE_CONTACT_TEL%></span>&nbsp;<span><%=MODEL_BASE.WEBSITE_CONTACT%></span>
            </p>
            <p class="font14">
                <strong>在线QQ：</strong><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>&site=qq&menu=yes"><img
                    border="0" src="http://wpa.qq.com/pa?p=2:<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>:41"
                    alt="点击这里给我发消息" title="点击这里给我发消息" align="absmiddle" /></a></p>
            <p class="font14">
                <strong>邮箱：</strong><a href="mailto:<%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%>"><strong><%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%></strong></a></p>
            <p class="gray center">
                <%=MODEL_BASE.WEBSITE_CONTACT_INTRO%>
            </p>
        </div>
        <!--右侧注册信息-->
        <div class="f_right poplogin popup_main" style="width: 280px;">
            <p class="orange">
               <b> 农家乐网满足您的出行，享受自然生活的网络互动平台，每天来看一看，每天都有精彩！！</b></p>
            <p>
                1、免费获得属于自己的网上商铺</p>
            <p>
                2、时时更新关于农庄的每一个动态</p>
            <p>
                3、看看游客在想啥调整销售策略</p>
            <p>
                4、不受地域限制共享全国客户资源</p>
            <p class="more">
                <a target="_blank" class="" href="/Register.aspx">马上免费注册</a></p>
        </div>
        <!--统计-->
        <div class="cleanFlex blank">
        </div>
        <div class="popup_main" style="border: 1px solid #ddd; background: #f5f5f5;height:100px">
            <div class="f_left webinfo" style="width: 300px;position:inherit;">
                   <p><strong><%=CITY_COUNT %></strong>个城市/地区</p>
                            <p><strong><%=COMPANY_COUNT.ToString("###,###,###")%></strong>农家乐，<strong><%=USER_COUNT.ToString("###,###,###")%></strong>个用户。</p>
                            <p><strong><%=LOCAL_COLOR_COUNT.ToString("###,###,###")%></strong>个特产，<strong><%=ATTRACTION_COUNT.ToString("###,###,###")%></strong>个景点。</p>
            </div>
            <div class="f_right poplogin" style="border: none;">
             <marquee direction="up" height="100px" scrollamount="1" onmouseover="this.stop()" onmouseout="this.start()"">
                <asp:Repeater ID="rptShop1" runat="server">
                    <ItemTemplate>
                        <p>
                            <b><a href="/shangpu/<%#Eval("ID") %>-index.html" target="_blank"><%#PageValidate.SqlText(Eval("COMPANY_NAME").ToString(),10)%></a></b>，刚刚入驻湖北农家乐网
                        </p>
                    </ItemTemplate>
                </asp:Repeater></marquee>
            </div>
            <div class="cleanFlex">
            </div>
        </div>
    </div>
    <script type="text/javascript">
        //示例9，综合效果
        var dingpiao = new PopupLayer({ trigger: "#opendingpiao1", popupBlk: "#blk9dingpiao1", closeBtn: "#close9dingpiao1", useOverlay: true, useFx: true,
            offsets: {
                x: 0,
                y: -41
            }
        });
        dingpiao.doEffects = function (way) {
            if (way == "open") {
                this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                    this.popupLayer.animate({
                        left: ($(document).width() - this.popupLayer.width()) / 2,
                        top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                        opacity: 0.8
                    }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                } .binding(this));
                // document.getElementById('Logindingpiao').src = '<%=WEBSITE_USRE_DOMAIN %>/SecondLogin.aspx?websitecode=<%=WEBSITE_CODE %>&domain=<%=WEBSITE_DOMAIN %>&url=<%=Request.RawUrl %>';
            }
            else {
                this.popupLayer.animate({
                    left: this.trigger.offset().left,
                    top: this.trigger.offset().top,
                    opacity: 0.1
                }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
            }
        }

    </script>
    <uc2:WUCFooter ID="WUCFooter1" runat="server" />
    <asp:HiddenField ID="hidScore" runat="server" />
    </form>
    <script type="text/javascript">
        function check() {
            var txtComment = document.getElementById("<%=txtComment.ClientID %>").value;
            txtComment = $.trim(txtComment);
            if (txtComment == "") {
                alert("评论内容不能为空哦^_^");
                return false;
            }
            if (txtComment.length > 100) {
                alert("评论内容字数不能超过100个哦^_^");
                return false;
            }
            var txtValidate = document.getElementById("<%=txtValidate.ClientID %>").value;
            txtValidate = $.trim(txtValidate);
            if (txtValidate == "") {
                alert("验证码不能为空哦^_^");
                return false;
            }


        }
        function getStartImage(id) {
            var imgid = id.replace("gstart", "");
            for (var i = 1; i <= 5; i++) {
                document.getElementById('gstart' + i).src = "/Images/half_start.jpg";
            }
            for (var j = 1; j <= imgid; j++)
                document.getElementById('gstart' + j).src = "/Images/start.jpg";
            document.getElementById("<%=hidScore.ClientID %>").value = imgid;
        }   
    </script>
</body>
</html>
